import {
  getToken
} from "./auth"
var token = getToken()
export function addUrlToken(url) {
  let splitUrl = url.split("?");
  let symbol = "?";
  if (!splitUrl[1]) {
    symbol = "?";
  } else {
    symbol = "&";
  }
  return url + symbol + "sxyzyu=" + token;
}
